package com.example.demo.service.impl;

import com.example.demo.bean.response.AppInfoBean;
import com.example.demo.mapper.AppUseSwitchMapper;
import com.example.demo.mapper.TestMapper;
import com.example.demo.service.AppUseSwitchService;
import com.example.demo.service.TestService;
import com.example.demo.util.Utils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import java.util.HashMap;
import java.util.Map;

@Service
public class AppUseSwitchServiceImpl implements AppUseSwitchService {

    @Autowired
    private AppUseSwitchMapper appUseSwitchMapper;


    @Override
    public AppInfoBean getAppInfo(String packageName) {
        return appUseSwitchMapper.getAppInfo(packageName);
    }
}
